﻿using PowerVSharp.Core.Utils;
using PowerVSharp.Standard.Interfaces.IO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace PowerVSharp.Standard.IO
{
    ///<summary>路径设置。</summary>
    [Guid("16501C52-0A55-4B18-B5AD-A8DAFAF002CD")]
    [ComVisible(false)]
    public class Path : IPath
    {
        public string Combine(dynamic paths)
        {
            var array = (string[])DynamicHelper.DynamicToStringArray(paths);
            return System.IO.Path.Combine(array);
        }
    }
}
